package com.ruoyi.project.data.metallographic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 金相图谱信息对象 syt_metallographic_spectrum_info
 * 
 * @author ruoyi
 * @date 2024-04-27
 */
public class SytMetallographicSpectrumInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 零件名 */
    @Excel(name = "零件名")
    private String partName;

    /** 材料种类 */
    @Excel(name = "材料种类")
    private String materialType;

    /** 材料牌号 */
    @Excel(name = "材料牌号")
    private String materialGrade;

    /** 试样状态 */
    @Excel(name = "试样状态")
    private String sampleStatus;

    /** 组织特征 */
    @Excel(name = "组织特征")
    private String microstructureFeatures;

    /** 附件 */
    @Excel(name = "附件")
    private String attachmentPath;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPartName(String partName)
    {
        this.partName = partName;
    }

    public String getPartName()
    {
        return partName;
    }
    public void setMaterialType(String materialType)
    {
        this.materialType = materialType;
    }

    public String getMaterialType()
    {
        return materialType;
    }
    public void setMaterialGrade(String materialGrade)
    {
        this.materialGrade = materialGrade;
    }

    public String getMaterialGrade()
    {
        return materialGrade;
    }
    public void setSampleStatus(String sampleStatus)
    {
        this.sampleStatus = sampleStatus;
    }

    public String getSampleStatus()
    {
        return sampleStatus;
    }
    public void setMicrostructureFeatures(String microstructureFeatures)
    {
        this.microstructureFeatures = microstructureFeatures;
    }

    public String getMicrostructureFeatures()
    {
        return microstructureFeatures;
    }
    public void setAttachmentPath(String attachmentPath)
    {
        this.attachmentPath = attachmentPath;
    }

    public String getAttachmentPath()
    {
        return attachmentPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partName", getPartName())
            .append("materialType", getMaterialType())
            .append("materialGrade", getMaterialGrade())
            .append("sampleStatus", getSampleStatus())
            .append("microstructureFeatures", getMicrostructureFeatures())
            .append("attachmentPath", getAttachmentPath())
            .append("createTime", getCreateTime())
            .toString();
    }
}
